package com.delu.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 6子的爹
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wallet")
@ApiModel(value="Wallet对象", description="")
public class Wallet implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "钱包id")
    @TableId(value = "wallet_id", type = IdType.AUTO)
    private Long walletId;

    @ApiModelProperty(value = "账户余额")
    @TableField("balance_account")
    private BigDecimal balanceAccount;

    @ApiModelProperty(value = "押金")
    @TableField("debt")
    private BigDecimal debt;

    @ApiModelProperty(value = "银行卡")
    @TableField("bank_card")
    private String bankCard;

    @ApiModelProperty(value = "储值卡")
    @TableField("storage_card")
    private String storageCard;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;


}
